 

/**
 * Subclass to Trade
 * @author Stefan
 */
public class Order extends Trade
{
    //Attributes

    private String deliveryDate;
    private String deliveryAddress;

    public Order(String id, String deliveryDate, String deliveryAddress, String empId, String cusId)
    {
        super(id, empId, cusId);
        this.deliveryDate = deliveryDate;
        this.deliveryAddress = deliveryAddress;
    }

    //Getters and setters

    public String getDeliveryAddress()
    {
        return deliveryAddress;
    }

    public void setDeliveryAddress(String deliveryAddress)
    {
        this.deliveryAddress = deliveryAddress;
    }

    public String getDeliveryDate()
    {
        return deliveryDate;
    }

    public void setDeliveryDate(String deliveryDate)
    {
        this.deliveryDate = deliveryDate;
    }
}
